<template>
	<view>
		<view>unicloud的基础用法：</view>
		<view>
			<text>获取unicloud中的值：</text>
			<text>{{v}}</text>
		</view>
	</view>
</template>
<script>
	export default {
		data() {
			return {
				v: ''
			}
		},
		onLoad() {
			let that = this;
			uniCloud.callFunction({
				name: 'testBase',
				success(res) {
					that.v = res.result;
				}
			})
		}
	}
</script>
